#ifndef __SYS_H
#define __SYS_H

#include "main.h" 
#include "Time.h"
#include "sysctl.h"
#include "systick.h"




void SYS_Init(void);

typedef struct
{
  float Last_Time;
  float Now_Time;
  float Time_Delta;
  uint16_t Time_Delta_INT;//单位ms
}getTime;

uint32_t millis(void);
uint32_t micros(void);

void delayMicroseconds(uint32_t us);
void delay(uint32_t ms);
void Delay_Ms(uint32_t x);
void delay_ms(uint32_t x);
void delay_us(uint32_t x);
void Delay_Us(uint32_t x);
void getTime_Period(getTime *Time_Lab);




#endif
